<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">  
<html xmlns="http://www.w3.org/1999/xhtml"  
      xmlns:h="http://java.sun.com/jsf/html"  
      xmlns:p="http://primefaces.org/ui">

    <h:form>
        <p:panel id="menu" header="Menus">

            <p:commandButton value="Novo Chamado" 
                             action="/novochamado" 
                             ajax="false" 
                             rendered="#{menu.exibirBotaoNovoChamado}" />  

            <p:commandButton value="Administração" 
                             action="#{menu.abrirAdministracao()}" 
                             ajax="false"                           
                             rendered="#{menu.exibirBotaoAdministracao}"/>

            <p:commandButton value="Fila de Chamados" 
                             action="#{menu.abrirFilaChamados()}" 
                             ajax="false"                           
                             rendered="#{menu.exibirBotaoFilaChamados}"/>

            <!--Botoes de Cadastro-->

            <p:commandButton value="Cadastros" 
                             action="#{menu.abrirCadastros()}"
                             ajax="false"
                             rendered="#{menu.exibirBotaoCadastros}"/>

            <p:commandButton value="Solicitante" 
                             action="#{menu.abrirCadastroSolicitantes()}"
                             ajax="false"
                             rendered="#{menu.exibirBotaoCadastroSolicitantes}"/>

            <p:commandButton value="Serviço" 
                             action="#{menu.abrirCadastroServicos()}"
                             ajax="false"
                             rendered="#{menu.exibirBotaoCadastroServicos}"/>

            <!--Fim Botoes de Cadastro-->

            <!--Botoes de Customizacao-->

            <p:commandButton value="Customizar" 
                             action="#{menu.abrirCustomizar()}"
                             ajax="false"
                             rendered="#{menu.exibirBotaoCustomizar}"/>

            <p:commandButton value="Chamados" 
                             action="#{menu.abrirCrudChamado()}" 
                             ajax="false" 
                             rendered="#{menu.exibirBotaoChamados}" />

            <p:commandButton value="Atendentes" 
                             action="#{menu.abrirCrudAtendente()}" 
                             ajax="false" 
                             rendered="#{menu.exibirBotaoAtendentes}" />
            <!--Botoes de Customizacao de Equipes-->
            <p:commandButton value="Atividades da Equipe" 
                             action="#{menu.abrirCrudEquipe()}" 
                             ajax="false" 
                             rendered="#{menu.exibirBotaoAtividadesEquipe}" />

            <p:commandButton value="Atributos da Equipe" 
                             action="#{menu.abrirCrudEquipe()}" 
                             ajax="false" 
                             rendered="#{menu.exibirBotaoAtributosEquipe}" />            

            <p:commandButton value="Equipes" 
                             action="#{menu.abrirEquipes()}" 
                             ajax="false" 
                             rendered="#{menu.exibirBotaoEquipes}" />
            <!--Fim Equipes-->

            <p:commandButton value="Fluxos" 
                             action="#{menu.abrirCrudFluxo()}" 
                             ajax="false" 
                             rendered="#{menu.exibirBotaoFluxos}" />

            <!--Botoes de Customizacao de Servicos-->

            <p:commandButton value="Servicos" 
                             action="#{menu.abrirServicos()}" 
                             ajax="false" 
                             rendered="#{menu.exibirBotaoServicos}" />

            <p:commandButton value="Servicos de Incidente" 
                             action="#{menu.abrirCrudServicoIncidente()}" 
                             ajax="false" 
                             rendered="#{menu.exibirBotaoServicosIncidente}" />

            <p:commandButton value="Servicos de Requisicao" 
                             action="#{menu.abrirCrudServicoRequisicao()}" 
                             ajax="false" 
                             rendered="#{menu.exibirBotaoServicosRequisicao}" />

            <p:commandButton value="Servicos de Problema" 
                             action="#{menu.abrirCrudServicoProblema()}" 
                             ajax="false" 
                             rendered="#{menu.exibirBotaoServicosProblema}" />

            <!--Fim Servicos-->

            <p:commandButton value="Solicitantes" 
                             action="#{menu.abrirCrudSolicitante()}" 
                             ajax="false" 
                             rendered="#{menu.exibirBotaoSolicitantes}" />

            <!--Fim Botoes de Customizacao-->

            <p:commandButton value="Voltar" 
                             action="#{menu.abrirPrincipal()}" 
                             ajax="false" 
                             rendered="#{menu.exibirBotaoVoltar}" />
        </p:panel>

    </h:form>

</html>  